/*
* Copyright 2025 NXP
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
* comply with and are bound by, such license terms.  If you do not agree to be bound by the applicable license
* terms, then you may not retain, install, activate or otherwise use the software.
*/

#include "lvgl.h"
#include <stdio.h>
#include "gui_guider.h"
#include "events_init.h"
#include "widgets_init.h"
#include "custom.h"



void setup_scr_idle_page(lv_ui *ui)
{
    //Write codes idle_page
    ui->idle_page = lv_obj_create(NULL);
    lv_obj_set_size(ui->idle_page, 1024, 600);
    lv_obj_set_scrollbar_mode(ui->idle_page, LV_SCROLLBAR_MODE_OFF);

    //Write style for idle_page, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->idle_page, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes idle_page_cont_1
    ui->idle_page_cont_1 = lv_obj_create(ui->idle_page);
    lv_obj_set_pos(ui->idle_page_cont_1, 0, 0);
    lv_obj_set_size(ui->idle_page_cont_1, 1024, 600);
    lv_obj_set_scrollbar_mode(ui->idle_page_cont_1, LV_SCROLLBAR_MODE_OFF);

    //Write style for idle_page_cont_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->idle_page_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->idle_page_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->idle_page_cont_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->idle_page_cont_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->idle_page_cont_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->idle_page_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->idle_page_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->idle_page_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->idle_page_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->idle_page_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes idle_page_cont_2
    ui->idle_page_cont_2 = lv_obj_create(ui->idle_page_cont_1);
    lv_obj_set_pos(ui->idle_page_cont_2, 0, 0);
    lv_obj_set_size(ui->idle_page_cont_2, 1024, 60);
    lv_obj_set_scrollbar_mode(ui->idle_page_cont_2, LV_SCROLLBAR_MODE_OFF);

    //Write style for idle_page_cont_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->idle_page_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->idle_page_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->idle_page_cont_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->idle_page_cont_2, lv_color_hex(0xFE5F3D), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->idle_page_cont_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->idle_page_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->idle_page_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->idle_page_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->idle_page_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->idle_page_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes idle_page_imgbtn_1
    ui->idle_page_imgbtn_1 = lv_imgbtn_create(ui->idle_page_cont_2);
    lv_obj_add_flag(ui->idle_page_imgbtn_1, LV_OBJ_FLAG_CHECKABLE);
    lv_imgbtn_set_src(ui->idle_page_imgbtn_1, LV_IMGBTN_STATE_RELEASED, NULL, &_icon_language_alpha_48x48, NULL);
    lv_imgbtn_set_src(ui->idle_page_imgbtn_1, LV_IMGBTN_STATE_PRESSED, NULL, &_icon_language_alpha_48x48, NULL);
    ui->idle_page_imgbtn_1_label = lv_label_create(ui->idle_page_imgbtn_1);
    lv_label_set_text(ui->idle_page_imgbtn_1_label, "");
    lv_label_set_long_mode(ui->idle_page_imgbtn_1_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->idle_page_imgbtn_1_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->idle_page_imgbtn_1, 0, LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->idle_page_imgbtn_1, 867, 3);
    lv_obj_set_size(ui->idle_page_imgbtn_1, 48, 48);

    //Write style for idle_page_imgbtn_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_1, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->idle_page_imgbtn_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->idle_page_imgbtn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->idle_page_imgbtn_1, true, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write style for idle_page_imgbtn_1, Part: LV_PART_MAIN, State: LV_STATE_PRESSED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_1, 0, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_1, 255, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_1, lv_color_hex(0xFF33FF), LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_1, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_1, 255, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_1, 0, LV_PART_MAIN|LV_STATE_PRESSED);

    //Write style for idle_page_imgbtn_1, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_1, 0, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_1, 255, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_1, lv_color_hex(0xFF33FF), LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_1, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_1, 255, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_1, 0, LV_PART_MAIN|LV_STATE_CHECKED);

    //Write style for idle_page_imgbtn_1, Part: LV_PART_MAIN, State: LV_IMGBTN_STATE_RELEASED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_1, 0, LV_PART_MAIN|LV_IMGBTN_STATE_RELEASED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_1, 255, LV_PART_MAIN|LV_IMGBTN_STATE_RELEASED);

    //Write codes idle_page_imgbtn_2
    ui->idle_page_imgbtn_2 = lv_imgbtn_create(ui->idle_page_cont_2);
    lv_obj_add_flag(ui->idle_page_imgbtn_2, LV_OBJ_FLAG_CHECKABLE);
    lv_imgbtn_set_src(ui->idle_page_imgbtn_2, LV_IMGBTN_STATE_RELEASED, NULL, &_icon_qusetion_alpha_48x48, NULL);
    lv_imgbtn_set_src(ui->idle_page_imgbtn_2, LV_IMGBTN_STATE_PRESSED, NULL, &_icon_qusetion_alpha_48x48, NULL);
    ui->idle_page_imgbtn_2_label = lv_label_create(ui->idle_page_imgbtn_2);
    lv_label_set_text(ui->idle_page_imgbtn_2_label, "");
    lv_label_set_long_mode(ui->idle_page_imgbtn_2_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->idle_page_imgbtn_2_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->idle_page_imgbtn_2, 0, LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->idle_page_imgbtn_2, 944, 4);
    lv_obj_set_size(ui->idle_page_imgbtn_2, 48, 48);

    //Write style for idle_page_imgbtn_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_2, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->idle_page_imgbtn_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->idle_page_imgbtn_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->idle_page_imgbtn_2, true, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write style for idle_page_imgbtn_2, Part: LV_PART_MAIN, State: LV_STATE_PRESSED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_2, 0, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_2, 255, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_2, lv_color_hex(0xFF33FF), LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_2, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_2, 255, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_2, 0, LV_PART_MAIN|LV_STATE_PRESSED);

    //Write style for idle_page_imgbtn_2, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_2, 0, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_2, 255, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_2, lv_color_hex(0xFF33FF), LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_2, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_2, 255, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_2, 0, LV_PART_MAIN|LV_STATE_CHECKED);

    //Write style for idle_page_imgbtn_2, Part: LV_PART_MAIN, State: LV_IMGBTN_STATE_RELEASED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_2, 0, LV_PART_MAIN|LV_IMGBTN_STATE_RELEASED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_2, 255, LV_PART_MAIN|LV_IMGBTN_STATE_RELEASED);

    //Write codes idle_page_img_1
    ui->idle_page_img_1 = lv_img_create(ui->idle_page_cont_1);
    lv_obj_add_flag(ui->idle_page_img_1, LV_OBJ_FLAG_CLICKABLE);
    lv_img_set_src(ui->idle_page_img_1, &_icon_dryer_alpha_200x200);
    lv_img_set_pivot(ui->idle_page_img_1, 50,50);
    lv_img_set_angle(ui->idle_page_img_1, 0);
    lv_obj_set_pos(ui->idle_page_img_1, 141, 249);
    lv_obj_set_size(ui->idle_page_img_1, 200, 200);

    //Write style for idle_page_img_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_img_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_img_opa(ui->idle_page_img_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->idle_page_img_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->idle_page_img_1, true, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes idle_page_label_1
    ui->idle_page_label_1 = lv_label_create(ui->idle_page_cont_1);
    lv_label_set_text(ui->idle_page_label_1, "Dryer Ready");
    lv_label_set_long_mode(ui->idle_page_label_1, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->idle_page_label_1, 267, 93);
    lv_obj_set_size(ui->idle_page_label_1, 469, 86);

    //Write style for idle_page_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->idle_page_label_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->idle_page_label_1, &lv_font_arial_60, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->idle_page_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->idle_page_label_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->idle_page_label_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->idle_page_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes idle_page_imgbtn_3
    ui->idle_page_imgbtn_3 = lv_imgbtn_create(ui->idle_page_cont_1);
    lv_imgbtn_set_src(ui->idle_page_imgbtn_3, LV_IMGBTN_STATE_RELEASED, NULL, &_icon_enter_alpha_449x81, NULL);
    lv_imgbtn_set_src(ui->idle_page_imgbtn_3, LV_IMGBTN_STATE_PRESSED, NULL, &_icon_enter_push_alpha_449x81, NULL);
    ui->idle_page_imgbtn_3_label = lv_label_create(ui->idle_page_imgbtn_3);
    lv_label_set_text(ui->idle_page_imgbtn_3_label, "");
    lv_label_set_long_mode(ui->idle_page_imgbtn_3_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->idle_page_imgbtn_3_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->idle_page_imgbtn_3, 0, LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->idle_page_imgbtn_3, 487, 313);
    lv_obj_set_size(ui->idle_page_imgbtn_3, 449, 81);

    //Write style for idle_page_imgbtn_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_3, &lv_font_arial_34, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->idle_page_imgbtn_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->idle_page_imgbtn_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->idle_page_imgbtn_3, true, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write style for idle_page_imgbtn_3, Part: LV_PART_MAIN, State: LV_STATE_PRESSED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_3, 0, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_3, 255, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_3, lv_color_hex(0xFF33FF), LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_3, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_3, 255, LV_PART_MAIN|LV_STATE_PRESSED);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_3, 0, LV_PART_MAIN|LV_STATE_PRESSED);

    //Write style for idle_page_imgbtn_3, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_3, 0, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_3, 255, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->idle_page_imgbtn_3, lv_color_hex(0xFF33FF), LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_font(ui->idle_page_imgbtn_3, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_text_opa(ui->idle_page_imgbtn_3, 255, LV_PART_MAIN|LV_STATE_CHECKED);
    lv_obj_set_style_shadow_width(ui->idle_page_imgbtn_3, 0, LV_PART_MAIN|LV_STATE_CHECKED);

    //Write style for idle_page_imgbtn_3, Part: LV_PART_MAIN, State: LV_IMGBTN_STATE_RELEASED.
    lv_obj_set_style_img_recolor_opa(ui->idle_page_imgbtn_3, 0, LV_PART_MAIN|LV_IMGBTN_STATE_RELEASED);
    lv_obj_set_style_img_opa(ui->idle_page_imgbtn_3, 255, LV_PART_MAIN|LV_IMGBTN_STATE_RELEASED);

    //Write codes idle_page_label_2
    ui->idle_page_label_2 = lv_label_create(ui->idle_page_cont_1);
    lv_label_set_text(ui->idle_page_label_2, "I‘m Ready to Dry");
    lv_label_set_long_mode(ui->idle_page_label_2, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->idle_page_label_2, 583, 336);
    lv_obj_set_size(ui->idle_page_label_2, 286, 32);

    //Write style for idle_page_label_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->idle_page_label_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->idle_page_label_2, &lv_font_arial_32, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->idle_page_label_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->idle_page_label_2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->idle_page_label_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->idle_page_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //The custom code of idle_page.


    //Update current screen layout.
    lv_obj_update_layout(ui->idle_page);

    //Init events for screen.
    events_init_idle_page(ui);
}
